<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Coming Eating</title>
<link rel="shortcut icon" href="Tpl/hotel.ico"/>
<!-- href属性中的路径要相对主文件定位，否则会加载不到 -->
<link rel="stylesheet" type="text/css" href="Public/Css/Base.css"/>
<link rel="stylesheet" type="text/css" href="Public/Css/foodlist.css"/>
<link rel="stylesheet" type="text/css" href="Public/Css/position.css"/>
<link rel="stylesheet" type="text/css" href="Public/Css/nav.css"/>

<script type="text/javascript" src="Public/Js/jquery.js"></script>
<script type="text/javascript" src="Public/Js/main.js"></script>
<script type="text/javascript" src="Public/Js/lightbox.min.js"></script>
<script type="text/javascript">
		$(document).ready(function() {
			$('#main_nav').allenMenu();
			$('#slide').allenSlide();
			$('a[name=need_lightbox]').lightBox();
		});
</script>

</head>
<body >

<!-- 这个地方用一个标志  确定是否显示这个 -->
<{if $smarty.session.loginFlag eq 0}>
	
	<{include file='Public/hide.html'}>
<{/if}>

<{include file='Public/indexheader.html'}>

<{include file='Public/search.html'}>

<{include file='Public/position.html'}>

<div id="foodlist" class='clear'>
	<{*分左右部分  左写热点和最近浏览   有些产品信息*}>
	<{include file='Public/hotsort.html'}>
	<div id='menulist' class='clear'>
	<{foreach from=$menuData item=v}>
		<div id='eachmenu'>
			<a href='MenuDetail.php?menu_id=<{$v.menu_id}>'><img src='Admin/Upload/<{$v.menu_pic}>' alt='<{$v.menu_name}>' title='<{$v.menu_name}>'/></a>
			<center><a href='MenuDetail.php?menu_id=<{$v.menu_id}>'><{$v.menu_name}></a></center>
			
		</div>
	<{/foreach}>

		<div id="page" ><{$pageStr}></div>
	</div>
	
	
	

</div>
<{include file='Public/footer.html'}>
</body>
</html>